﻿using System.IO;
using System.Text;
using Ionic.Zip;

namespace Seagull.Jobs.Tests
{
    public static class Program
    {
        public static void Main()
        {
            //            Compresser.Compress(@"c:\Users\haowang\Dropbox\Books Jo like\", @"t:\aaa");
        }

        private static void test1()
        {
            File.Delete("t:\\银河英雄传.zip");
            using(var zipFile = new ZipFile("t:\\aaa\\银河英雄传.zip", Encoding.Default))
            {
                zipFile.AddFile("t:\\aaa\\银河英雄传.txt");
                zipFile.Save();
            }
        }
    }
}
